package com.ambulance.project.manager.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ambulance.framework.aspectj.lang.annotation.Excel;
import com.ambulance.framework.web.domain.BaseEntity;

/**
 * 司机管理对象 biz_driver
 *
 * @author zr
 * @date 2020-05-12
 */
public class BizDriver extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 司机标识 */
    private Long driverID;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 年龄 */
    @Excel(name = "年龄")
    private Integer age;

    /** 性别  */
    @Excel(name = "性别 ")
    private Integer sex;

    /** 状态  */
    @Excel(name = "状态 ")
    private Integer status;

    /** 值班状态 0= 未值班 1=值班，2已出车 */
    @Excel(name = "值班状态 0= 未值班 1=值班，2已出车")
    private Integer onDutyStatus;

    /** 医院标识 */
    private Long uid;

    public void setDriverID(Long driverID)
    {
        this.driverID = driverID;
    }

    public Long getDriverID()
    {
        return driverID;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setAge(Integer age)
    {
        this.age = age;
    }

    public Integer getAge()
    {
        return age;
    }
    public void setSex(Integer sex)
    {
        this.sex = sex;
    }

    public Integer getSex()
    {
        return sex;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setOnDutyStatus(Integer onDutyStatus)
    {
        this.onDutyStatus = onDutyStatus;
    }

    public Integer getOnDutyStatus()
    {
        return onDutyStatus;
    }
    public void setUid(Long uid)
    {
        this.uid = uid;
    }

    public Long getUid()
    {
        return uid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("driverID", getDriverID())
            .append("name", getName())
            .append("phone", getPhone())
            .append("address", getAddress())
            .append("remark", getRemark())
            .append("age", getAge())
            .append("sex", getSex())
            .append("status", getStatus())
            .append("onDutyStatus", getOnDutyStatus())
            .append("uid", getUid())
            .toString();
    }
}
